import {
  get,
  post,
  put
} from '@/api/common/http/http'

//获取用户信息
export function getUserInfo(params) {
  return get('/user/tokenToInfo', params)
}

//修改用户信息
export function updateUserInfo(params) {
  return put('/user/updateInfo', params)
}

//重置密码
export function reset_psd(params) {
  return put('/user/updateMyPsd', params)
}

//修改手机号码
export function upd_phone(params) {
  return post('/user/upd_phone', params)
}